package com.example.script.mapper;

import com.example.script.model.CheckCode;
import com.example.script.model.CheckCodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CheckCodeMapper {
    long countByExample(CheckCodeExample example);

    int deleteByExample(CheckCodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CheckCode record);

    int insertSelective(CheckCode record);

    List<CheckCode> selectByExample(CheckCodeExample example);

    CheckCode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CheckCode record, @Param("example") CheckCodeExample example);

    int updateByExample(@Param("record") CheckCode record, @Param("example") CheckCodeExample example);

    int updateByPrimaryKeySelective(CheckCode record);

    int updateByPrimaryKey(CheckCode record);
}